﻿namespace AllInOne.Models
{
    public class ResultModel
    {
        public int Code { get; set; } = 200;

        public string Message { get; set; }

        public string Success { get; set; }

        public object Data { get; set; }
    }

    public class ResultModel<T>
    {
        public int Code { get; set; } = 200;

        public string Message { get; set; }

        public string Success { get; set; }

        public T Data { get; set; }
    }
}
